﻿using BCEntity.TMS.TransportSpecificServiceConfig;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace BCData.TMS.TransportSpecificServiceConfig
{
    public interface ITransportSpecificServiceConfigData
    {
        Task<bool> DeleteAsync(long transportSpecificServiceConfigId);
        Task<TransportSpecificServiceConfigEntity> GetEntityAsync(long transportSpecificServiceConfigId);
        Task<(IEnumerable<TransportSpecificServiceConfigEntity>, int)> GetListAsync(int? vehicleTypeId,string specificServiceType, string serviceTitle, int pageIndex, int pageSize);
        Task<IEnumerable<TransportSpecificServiceConfigEntity>> GetOnlyListAsync(int? vehicleTypeId, string specificServiceType, string serviceTitle);
        Task<TransportSpecificServiceConfigEntity> InsertAsync(TransportSpecificServiceConfigEntity entity);
        Task<TransportSpecificServiceConfigEntity> UpdateAsync(TransportSpecificServiceConfigEntity entity); 
    }
}